//
//  GL_Vehicle.m
//  RecipeCollection02
//
//  Created by Louis CHU on 02/03/12.
//  Copyright (c) 2012 Nathan Burba. All rights reserved.
//

#import "GL_Vehicle.h"
#define kGL_VehicleMinDectectionLength      10.f

@interface GL_Vehicle ()


@end

@implementation GL_Vehicle

@synthesize detectionBoxLength;


- (float32) detectionBoxLength
{
    return kGL_VehicleMinDectectionLength + ((self.speed/self.maxSpeed)*kGL_VehicleMinDectectionLength);
}

- (void) update: (float) elapsedTime
{
    
}
- (void) render
{
    
}
@end
